import axios, {Axios} from 'axios'
const context = "/ucenter"

/**
* 获取 MachineDeployTemplate 分页列表
*/
export function getMachineDeployTemplatePagination(data: any) {
    return axios.get(`${context}/machineDeployTemplate/pagination`, { params: data });
}


/**
* 获取 MachineDeployTemplate 所有数据
*/
export function getMachineDeployTemplateAllList(data: any) {
    return axios.get(`${context}/machineDeployTemplate/allList`, { params: data });
}


/**
* 获取 MachineDeployTemplate 详情
*/
export function getMachineDeployTemplateDetailById(id: any) {
    return axios.get(`${context}/machineDeployTemplate/${id}`, { params:{id} });
}


/**
* 新增 MachineDeployTemplate
*/
export function addMachineDeployTemplate(data: any) {
    return axios.post(`${context}/machineDeployTemplate`, data);
}

/**
* 修改 MachineDeployTemplate
*/
export function updateMachineDeployTemplate(data: any) {
    return axios.put(`${context}/machineDeployTemplate`, data);
}

/**
* 删除 MachineDeployTemplate
*/
export function batchRemoveMachineDeployTemplate(data: any) {
        return axios.post(`${context}/machineDeployTemplate/batchRemove`, data);
}
